package com.example.content

/**
 * Created by zhudongao
 * 常量定义
 * Date 2020/10/8
 */

/************页面跳转动画定义****************/
const val PHOTO_DETAIL_PAGE = "photo_detail_page"

/*********** 数据跳转时key定义 ***************/
const val URL_KEY = "url"

/*************** 伪数据定义 ******************/
val titles: Array<String> = arrayOf(
    "伪装者:胡歌演绎'痞子特工'",
    "无心法师:生死离别!月牙遭虐杀",
    "花千骨:尊上沦为花千骨",
    "综艺饭:胖轩偷看夏天洗澡掀波澜",
    "碟中谍4:阿汤哥高塔命悬一线,超越不可能"
)

val urls = arrayOf(
    //640*360 360/640=0.5625
    "http://photocdn.sohu.com/tvmobilemvms/20150907/144160323071011277.jpg",  //伪装者:胡歌演绎"痞子特工"
    "http://photocdn.sohu.com/tvmobilemvms/20150907/144158380433341332.jpg",  //无心法师:生死离别!月牙遭虐杀
    "http://photocdn.sohu.com/tvmobilemvms/20150907/144160286644953923.jpg",  //花千骨:尊上沦为花千骨
    "http://photocdn.sohu.com/tvmobilemvms/20150902/144115156939164801.jpg",  //综艺饭:胖轩偷看夏天洗澡掀波澜
    "http://photocdn.sohu.com/tvmobilemvms/20150907/144159406950245847.jpg",
    "http://photocdn.sohu.com/tvmobilemvms/20150907/144160323071011277.jpg",  //伪装者:胡歌演绎"痞子特工"
    "http://photocdn.sohu.com/tvmobilemvms/20150907/144158380433341332.jpg",  //无心法师:生死离别!月牙遭虐杀
    "http://photocdn.sohu.com/tvmobilemvms/20150907/144160286644953923.jpg",  //花千骨:尊上沦为花千骨
    "http://photocdn.sohu.com/tvmobilemvms/20150902/144115156939164801.jpg",
)

val products = arrayOf(
    "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1604760526175&di=9b952f19b8908af7e660e4d9aecb4dc8&imgtype=0&src=http%3A%2F%2Fyouimg1.c-ctrip.com%2Ftarget%2Ffd%2Ftg%2Fg6%2FM04%2F22%2FA9%2FCggYs1dAJtOAYzGmAAVZL3pe9bg758_R_1024_10000_Q90.jpg",
    "https://youimg1.c-ctrip.com/target/fd/tg/g6/M04/17/CB/CggYslc_-XiAWA-uAADgq3UdU08084_R_1024_10000_Q90.jpg?proc=autoorient",
    "https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=144597532,3071909316&fm=26&gp=0.jpg",
    "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1604760631384&di=de2f1d24e683bb0009770850499c7c8a&imgtype=0&src=http%3A%2F%2Fpic1.nipic.com%2F20090311%2F836562_182225019_2.jpg",
    "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=1618917910,1316838749&fm=26&gp=0.jpg",
    "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1604760631384&di=6837e3341e9ca396c262e809455efae9&imgtype=0&src=http%3A%2F%2Fwww.fengjingyouhua.com%2Fimages%2Ffengjinghua050.jpg",
    "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1604760526175&di=9b952f19b8908af7e660e4d9aecb4dc8&imgtype=0&src=http%3A%2F%2Fyouimg1.c-ctrip.com%2Ftarget%2Ffd%2Ftg%2Fg6%2FM04%2F22%2FA9%2FCggYs1dAJtOAYzGmAAVZL3pe9bg758_R_1024_10000_Q90.jpg",
    "https://youimg1.c-ctrip.com/target/fd/tg/g6/M04/17/CB/CggYslc_-XiAWA-uAADgq3UdU08084_R_1024_10000_Q90.jpg?proc=autoorient",
    "https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=144597532,3071909316&fm=26&gp=0.jpg",
    "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1604760631384&di=de2f1d24e683bb0009770850499c7c8a&imgtype=0&src=http%3A%2F%2Fpic1.nipic.com%2F20090311%2F836562_182225019_2.jpg",
    "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=1618917910,1316838749&fm=26&gp=0.jpg"
)

/*************************************************/

val FLOW_ARRAY = arrayOf("热门","视频","图片")

/*************************************************/

//token相关
const val AUTHORIZATION = "Authorization"
const val ACCESS_TOKEN = "access_token"

/*************************************************/


/**************************************************/

//fragment 的类型定义
const val KEY_FRAGMENT = "fragment_tye"
//设置页面的子页面
const val ME_FOLLOWERS = 1001
const val ME_MY_COIN_TYPE = 1003
const val ME_VIP_PAGE_TYPE = 1004
const val ME_FEEDBACK_PAGE_TYPE = 1005
const val ME_EDIT_USER_INFO_TYPE = 1006
const val ME_CHARGE_COIN_TYPE = 1007
const val ME_CASH_OUT_TYPE = 1008
const val ME_CERTIFICATION_TYPE = 1009
const val ME_PAY_VERIFY_TYPE = 1010
const val ME_SELECT_PAY_CARD_TYPE = 1011
const val ME_ADD_BANK_CARD_TYPE = 1012
const val ME_FILL_BANK_INFO_TYPE = 1013
const val SHARE_PERSONAL_CARD_TYPE = 1014
//个人中心页面
const val PERSONAL_INFO_CENTER = 2001

//详情
const val PRODUCT_DETAIL = 3001
const val PRODUCT_ID = "product_id"
const val RESOURCE_LIST = "resource_list"
const val RESOURCE_POI = "resource_poi"
const val USER_ID = "user_id"

//上传
const val SELECT_TYPE = "select_type"
const val VIDEO_URL = "video_url"

/*************************************************/
// recyclerView 展示类型
const val GRID_TYPE = 21

//recyclerView item类型定义
const val DEFAULT_ITEM_TYPE = 50

//主页item 类型
const val HOME_BANNER = 10
const val PHOTO_LIST_TYPE = 11
const val VIDEO_TYPE = 12
const val FLOW_ITEM_TYPE = 13

//我的主页面列表：
//粉丝、关注的用户item类型
const val MY_FOLLOWERS_ITEM_TYPE = 51
//消息界面类型
const val MSG_OFFICIAL_ACTIVITY_TYPE = 12
const val MSG_CHART_TYPE = 13
const val MSG_REWARD_TYPE = 14
//搜索界面
const val search_product_item_type = 20

/*************************************************/

//我的页面key、分类
//粉丝、关注 页面数据
const val FOLLOWERS_TYPE = "followers_type"
const val MY_FANS = 0
const val MY_FOLLOW = 1

/*************************************************/

//关注的动作
//取消关注
const val UN_ACTION = 0
//关注
const val DO_ACTION = 1
//收藏
const val COLLECTION = 3
//点赞
const val THUMB_UP = 4

/**************************************************/
//我的界面 用户资源
const val USER_PRODUCT = 0
const val USER_COLLECT = 1
const val USER_REWARD = 2

const val USER_VIDEO = 1
const val USER_PHOTO = 2
const val USER_LIKE = 3

/**************************************************/
//首页推荐分类
const val REMD_ALL = 0
const val REMD_MAN = 1
const val REMD_FEMAIL = 2
const val REMD_COLLECT = 3

/**************************************************/
//主页次级栏目分类
const val GENDER_TYPE_MAN = 1
const val GENDER_TYPE_FEMALE = 2
const val GENDER_TYPE_ALL = 3

//资源类型分类
const val RESOURCE_TYPE_VIDEO = 1
const val RESOURCE_TYPE_IMG = 2
const val RESOURCE_TYPE_ALL = 3

//标签分类
const val HOME_TAG_HOT = 1
const val HOME_TAG_NEWS = 2

//性别类型
const val SEX_MAN = 0
const val SEX_FEMALE = 1

//关注类型分类
const val FOLLOW_UN = 0
const val FOLLOW_ALREADY = 1
const val FOLLOW_EACH = 2


//搜索页面
const val SEARCH_PAGE_USER = 1
const val SEARCH_PAGE_PRODUCT = 2